package ro.flashbite.game_engine.view.sheet
{
	import com.greensock.TweenMax;
	
	import flash.display.BitmapData;
	import flash.geom.Point;

	public interface ISpriteSheet
	{
		//ISleepWakeupDestroy
		function sleep():void;
		function wakeup():void;
		function destroy():void;
		
		//IInteractive
		function enable():void;
		function disable():void;
		
		function playFromTo(from:Object, to:Object, speed:Number = 1, repeatCount:int = 0, onCompleteFunc:Function = null, onCompleteParams:Array = null):Number;
		function gotoAndStop(frame:Object):void;
		function stop():void;
		
		function copyPixelsFromFrame(frame:uint, bmpData:BitmapData, point:Point):void;
		
		function get isPlaying():Boolean;
		function get __ccurentFrame():Number;
		function set __ccurentFrame(v:Number):void;
		function get currentFrame():uint;
		function set currentFrame(v:uint):void;
		function get totalFrames():uint;
		function get animation():TweenMax;
	}
}